package com.quanyan.club.pullclub.entity.req;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by xian-guo on 2017/2/13.
 */
public class ReqRegisterMsg implements Serializable {

    private static final long serialVersionUID = 8013388389454265819L;

    private String token;//登录标示

    @NotNull
    private String mobile;

    private String sellCode;//经销商登录链接上的code

    @NotNull
    private String code;//渠道商/经销商code

    private String smsCode;//短信验证码

    private Byte type;//渠道商推广码or经销商推广码

    private Byte isToken;//是否需要重新设置token,0不需要，1需要

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Byte getIsToken() {
        return isToken;
    }

    public void setIsToken(Byte isToken) {
        this.isToken = isToken;
    }

    public String getSellCode() {
        return sellCode;
    }

    public void setSellCode(String sellCode) {
        this.sellCode = sellCode;
    }
}